projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b97c490
)
treeview: fix an off-by-one error
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 6 Jun 2016 02:20:38 +0000
(22:20 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 6 Jun 2016 02:20:38 +0000
(22:20 -0400)
gtk_tree_view_get_path_at_pos() mistakenly identifies the first
pixel of all but the first column in a tree view as belonging to
the previous column.
https://bugzilla.gnome.org/show_bug.cgi?id=708148
gtk/gtktreeview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktreeview.c
b/gtk/gtktreeview.c
index 1ac81ca63c387b99af54f0179becaa6b7e3ec52c..e51aae45aea3d38f92c94c3a790e211620e695bb 100644
(file)
--- a/
gtk/gtktreeview.c
+++ b/
gtk/gtktreeview.c
@@
-13564,7
+13564,7
@@
gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view,
last_column = tmp_column;
width = gtk_tree_view_column_get_width (tmp_column);
- if (remaining_x <
=
width)
+ if (remaining_x < width)
{
found = TRUE;